import $api from './index.js'

export const getHomeInfo = async (data)=>{
    const res = await $api.post('/getHome',data)
    return res
}

export const getHomeHeader = async(data) =>{
    const res =await $api.post('/getHomeHeader',data)
    return res
}

export const getChartInfo = async(data) =>{
    const res =await $api.post('/getChartData',data)
    return res
}